# -*- coding: utf-8 -*-
# @Time    : 2021/1/25 15:59
# @Author  : DuJiabao
# @Project : BaoZaiFanYiWuJianCe
# @FileName: crc_test.py
# @Software: PyCharm
# @Desc    : 
import crc16
from SocketThread import *


if __name__ == "__main__":
    data = "0xAAA0000000"
    data = hexToBytes(data)
    print(data)
    print(crc16.crc16xmodem(data))
